<a href="#" onclick="javascript:none()" class="parent"><span><g:message code="tab.salesOrder.create.label" default="Create SalesOrder"/></span></a>
    <ul>
        <g:each in="${salesOrderRecordtypeList}" status="i" var="salesOrderRecordtype">
        <li>
            <a href="${createLink(controller: 'salesOrder', action : 'create', params:['recordType.id':salesOrderRecordtype?.id])}">
                <span>
                    <g:message 
                        code="tab.salesOrder.create.${salesOrderRecordtype?.serialNumber}.label" 
                        default="Create Sales Order ${salesOrderRecordtype?.serialNumber}"/>
                </span>
            </a>
        </li>
        </g:each>
    </ul>
